package com.gateway.router.base.handler;

import com.gateway.common.dto.route.FilterData;

/**
 * @program: api-gateway
 * @description:
 * @author: YuKai Fan
 * @create: 2025/2/5 15:20
 **/
public interface RouteFilterDataHandler {

    /**
     * Handle routeFilterData.
     *
     * @param filterData the route filter data
     */
    default void handle(FilterData filterData) {

    }

    /**
     * Remove routeData.
     *
     * @param filterData the route data
     */
    default void remove(FilterData filterData) {

    }

    /**
     * Refresh.
     */
    default void refresh() {
    }

    /**
     * filter name string.
     *
     * @return the filter name string
     */
    String filterName();
}
